<?php
namespace app\common\enums;


/**
 * 订单状态
 * Class OrderStatusEnum
 * @author luxoianhui
 */
class PayStatusEnum extends BaseEnum
{

    const PAY_STATUS_UNTREATED = '0';
    const PAY_STATUS_FAIL      = '1';
    const PAY_STATUS_SUCCESS   = '2';

    /**
     * @return array
     */
    public static function getMap(): array
    {
        return [
            self::PAY_STATUS_UNTREATED => '待支付',
            self::PAY_STATUS_FAIL => '支付失败',
            self::PAY_STATUS_SUCCESS => '已支付',
        ];
    }


}